def decrypt(key,e_message):
    translated=""
    e_message=e_message.upper()
    for ch in e_message:
        if ord(ch)-key <=64:
            translated = translated + chr(ord(ch)-key+26)
        else:
            translated = translated + chr(ord(ch)-key)
    return translated


print(decrypt(3,"KHOORZRUOG"))